/**
 * Created by zby on 2018/3/25.
 */
public class App {
    public static void main(String[] args) {
        MobileTelephone telephone = new MobileTelephone();
        SIM sim = new SIMOfChinaMobile();
        sim.setNumber("1388765432");
        telephone.useSIM(sim);
        telephone.shouMess();
        sim = new SIMOfChinaUnicom();
        sim.setNumber("13098765437");
        telephone.useSIM(sim);
        telephone.shouMess();
    }
}
